[rails] user's account backup and restore

Posted by Cédric on Stack Overflow See other posts from Stack Overflow or by Cédric
Published on 2010-06-17T08:31:51Z Indexed on 2010/06/17 8:43 UTC
Read the original article Hit count: 289

Filed under:
|
|

Hi everyone,

I am currently working on a project and i would like my users to be able to backup/restore theirs accounts.

I am looking for a rails plugin/gem that would easily do that, ie :

current_user.backup()

=> backup_file

current_user.restore(backup_file)

=> database import/replace

I don't know if my question is very clear, but i would like to backup every user's related object (posts, comments, etc) and to be able to restore them from a backup file.

Thanks per advance,

Cédric.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about backup